/**
 * 
 */
package com.ychs.corejava.lesson5;

/**
 * 测试小数减法
 * @author LENOVO
 * @version 1.0
 */
public class TestDoubleSub {
	public static void main(String[] args) {
		System.out.println(1 - 0.9);
		System.out.println(1 - 0.8);
		System.out.println(1 - 0.7);
		System.out.println(1 - 0.6);
		System.out.println(1 - 0.5);
		System.out.println(1 - 0.4);
		System.out.println(1 - 0.3);
		System.out.println(1 - 0.2);
		System.out.println(1 - 0.1);
	}

}
